import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { NgxEchartsModule } from 'ngx-echarts';
import { SurveyComponent } from './survey.component';
import { AbmModule } from 'angular-baidu-maps';
import { PipeModule } from '../../../common/pipe/pipe.module';
import { SurveyService } from '../../../services/project/survey/survey.service';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    FormsModule,
    NgxEchartsModule,
    PipeModule,
    AbmModule.forRoot({
      apiKey: 'p3HIQIqLqKVQOXao1IiLp5O0eTFakjEP' // app key为必选项
    }),
    RouterModule.forChild([
      { path: '', component: SurveyComponent }
    ])
  ],
  declarations: [SurveyComponent],
  providers: [SurveyService]
})
export class SurveyModule { }
